package com.wuchao.interpreter;

import java.util.HashMap;

/**
 * @author wu
 * @create 2022-04-12-11:41
 */
public class SymbolExpression extends Expression{


    protected Expression left;
    protected Expression right;

    public SymbolExpression(Expression left, Expression right) {
        this.left = left;
        this.right = right;
    }

    //因为 SymbolExpression 是让其子类来实现，因此 interpreter 是一个默认实现
    @Override
    public int interpreter(HashMap<String, Integer> var) {
        // TODO Auto-generated method stub
        return 0;
    }
}
